import { ModuleWithProviders } from "@angular/core"
import { Routes, RouterModule } from "@angular/router";

export const routes: Routes = [
  	{
	    path: 'car-online',
	    loadChildren:'app/+environment-manage/+car-online/car-online.module#CarOnlineModule',
  	},{
		path: 'environment-company',
		loadChildren: 'app/+environment-manage/+environment-company/environment-company.module#EnvironmentCompanyModule',
	},{
		path: 'fault-problem',
		loadChildren: 'app/+environment-manage/+fault-problem/fault-problem.module#FaultProblemModule',
	},{
		path: 'fault-problem-detail',
		loadChildren: 'app/+environment-manage/+fault-problem-detail/fault-problem-detail.module#FaultProblemDetailModule',
	},{
		path: 'site-manage/site-manage-page',
		loadChildren: 'app/+environment-manage/+site-manage-page/site-manage-page.module#SiteManagePageModule',
	},{
		path: 'site-manage',
		loadChildren: 'app/+environment-manage/+site-manage/site-manage.module#SiteManageModule',
	},{
		path: 'car-offline-detail',
		loadChildren: 'app/+environment-manage/+car-offline-detail/car-offline-detail.module#CarOfflineDetailModule',
	},{
		path: 'problem-analyse',
		loadChildren: 'app/+environment-manage/+problem-analyse/problem-analyse.module#ProblemAnalyseModule',
	},{
        path: 'weight-abnormal-total',
        loadChildren:'app/+environment-manage/+weight-abnormal-total/weight-abnormal-total.module#WeightAbnormalTotalModule',
    },{
        path: 'weight-abnormal-detail',
        loadChildren:'app/+environment-manage/+weight-abnormal-detail/weight-abnormal-detail.module#WeightAbnormalDetailModule',
    },{
        path: 'garbage-clear-total',
        loadChildren:'app/+environment-manage/+garbage-clear-total/garbage-clear-total.module#GarbageClearTotalModule',
    },{
        path: 'garbage-clear-detail',
        loadChildren:'app/+environment-manage/+garbage-clear-detail/garbage-clear-detail.module#GarbageClearDetailModule',
    },{
		path: 'algorithm-abnormal-log',
		loadChildren: 'app/+environment-manage/+algorithm-abnormal-log/algorithm-abnormal-log.module#AlgorithmAbnormalLogModule',
	},{
		path: 'fault-type-configuration',
		loadChildren: 'app/+environment-manage/+fault-type-configuration/fault-type-configuration.module#FaultTypeConfigurationModule',
	}
];

export const routing = RouterModule.forChild(routes);
